package com.moto.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.moto.repository.UserRepliesRepository;
import com.moto.service.UserRepliesService;

@Service("userRepliesService")
public class UserRepliesServiceImpl implements UserRepliesService {

	@Autowired
	private UserRepliesRepository userRepliesRepository;

	@Override
	public int deleteByPostsId(String postsId) {
		return userRepliesRepository.deleteByPostsId(postsId);
	}
}
